<?php

namespace App\Const;

class AdminPermissionConst
{
    const ROUTE_NAME_MENU = [
        'user' => '用户管理',
    ];

    const ROUTE_NAME_METHOD = [
        self::ROUTE_NAME_LOGIN  => '登入',
        self::ROUTE_NAME_LOGOUT => '登出',
        self::ROUTE_NAME_INDEX  => '获取列表',
        self::ROUTE_NAME_SHOW   => '获取详情',
        self::ROUTE_NAME_STORE  => '新增数据',
        self::ROUTE_NAME_UPDATE => '更新数据',
        self::ROUTE_NAME_DELETE => '删除数据',
    ];

    const ROUTE_NAME_LOGIN  = 'login';
    const ROUTE_NAME_LOGOUT = 'logout';
    const ROUTE_NAME_INDEX  = 'index';
    const ROUTE_NAME_SHOW   = 'show';
    const ROUTE_NAME_STORE  = 'store';
    const ROUTE_NAME_UPDATE = 'update';
    const ROUTE_NAME_DELETE = 'delete';

    //排除
    const ROUTE_NAME_EXCEPT = ['except'];

    const ROUTE_URI_PREFIX_WEB = 'web';
}
